System for controlling the distribution and use of rendered digital works through watermarking

ABSTRACT

A trusted rendering system for use in a system for controlling the distribution and use of digital works. A trusted rendering system facilitates the protection of rendered digital works which have been rendered on a system which controls the distribution and use of digital works through the use of dynamically generated watermark information that is embedded in the rendered output. The watermark data typically provides information relating to the owner of the digital work, the rights associated with the rendered copy of the digital work and when and where the digital work was rendered. This information will typically aid in deterring or preventing unauthorized copying of the rendered work to be made. The system for controlling distribution and use of digital works provides for attaching persistent usage rights to a digital work. Digital works are transferred between repositories which are used to request and grant access to digital works. Such repositories are also coupled to credit servers which provide for payment of any fees incurred as a result of accessing a digital work.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a Continuation Application of application Ser. No. 09/778,005 filed Feb. 7, 2001, which is a Divisional Application of Ser. No. 08/948,893, filed Oct. 10, 1997, which claims priority from U.S. Provisional Application Ser. No. 60/039,275 filed Feb. 28, 1997.

FIELD OF THE INVENTION

The present invention relates to the field of distribution and usage rights enforcement for digitally encoded works, and in particular to identification of nonauthorized copies of digitally encoded works that have been rendered.

BACKGROUND OF THE INVENTION

Pending U.S. patent application Ser. No. 08/344, 042 filed Nov. 29, 1996, incorporated herein by reference, describes a system which provides for the secure and accounted for distribution of digitally encoded works (hereinafter digital works). However, once a digital work leaves the digital domain, e.g. it is printed out, played or otherwise rendered, it is not longer secure and can be subjected to unauthorized copying. This is a problem for all rendered digital works.

Two known techniques for protecting digital works by imparting information onto the digital document are “watermarking” and “fingerprinting”. The term watermark historically refers to a translucent design impressed on paper during manufacture which is visible when the paper is held to the light. Because watermarks are impressed using combinations of water, heat, and pressure, they are not easy to add or alter outside of the paper factory. Watermarks are used in making letterheads and are intended to indicate source and that a document is authentic and original and not a reproduction.

One technique for creating such a watermark when a digital work is printed is described in U.S. Pat. No. 5,530,759 entitled “Color Correct Digital Watermarking of Images” issued Jun. 25, 1996. In this approach the watermark image is combined with the digital image to created the watermarked image. The watermark image acts as a template to change the chromacity of corresponding pixels in the digital image thus creating the watermark. In any event, these notices server as social reminders to people to not make to photocopies.

The term watermark is now used to cover a wide range of technologies for marking rendered works, including text, digital pictures, and digital audio with information that identifies the work or the publisher. Some watermarks are noticeable to people and some are hidden. In some kinds of watermarks, the embedded information is human readable, but in other kinds the information can only be read by computers.

The term fingerprint is sometimes used in contrast with watermarks to refer to marks that carry information about the end user or rendering event rather than the document or publisher. These marks are called “fingerprints” because they can be used to trace the source of a copy back to a person or computer that rendered the original.

The same technologies and kinds of marks can be used to carry both watermark and fingerprint information. In practice, it is not only possible but often desirable and convenient to combine both kinds of information—for watermarks and fingerprints—in a single mark.

With respect to paper based documents, the simplest approach to providing a mark is a graphical symbol or printed notice that appears on each page. This is analogous to a copyright notice. Such notices can be provided by the publisher in the document source or added later by a printer. These notices serve as social reminders to people to not make photocopies.

Other approaches hide information in the grey codes (or intensity) on a page. Although in principle such approaches can embed data in greycode fonts, their main application so far has been for embedding data in photographs. One set of approaches is described by Cox et al. in a publication entitled “Secure spread spectrum watermarking for Multimedia”, NEC Research Institute Technical Report 95-10, NEC Research Institute, Princeton, N.J. 08540. To decode data encoded in the approached described by Cox et al. requires comparing the encoded picture with the original to find the differences. The advantage of these approaches is that they can embed the data in such a way that it is very difficult to remove, not only by mechanical means but also by computational means.

As described above, watermarks need not be perceptible to the viewer. For example, one technique is to embed data in the white space of a document. An example of this kind of approach was described by Brassil, et al. In a publication entitled “Electronic marking and identification techniques to discourage document copying”, IEEE Journal on Selected Areas in Communications, Vol. 13, No. 8 pages 1495-1504, October 1995. The idea is to slightly vary the spacing of letters and lines in a digital work. The advantages of this approach are that it is not visible and is hard to remove. The disadvantage is that it has a very limited capacity for carrying data—only a few bytes per page.

Another watermarking scheme for use in digital works representing images is available from the Digimarc Corporation. The Digimarc watermark is invisible and is used to convey ownership information relating to the image. From the Digimarc World Web Page describing their technology (URL http://www.digimarc.com/wt_page.html): “A Digimarc watermark imitates naturally occurring image variations and is placed throughout the image such that it cannot be perceived. To further hide the watermark, the Digimarc watermarking process is perceptually adaptive—meaning it automatically varies the intensity of the watermark in order to remain invisible in both flat and detailed areas of an image.” Reading of the Digimarc watermark is through a Digimarc reader which can extract the watermark from the image.

Other prior art relating to embedding data in a print medium includes Daniele, U.S. Pat. No. 5,444,779, on “Electronic Copyright Royalty Accounting System for Using Glyphs”, which discloses a system for utilizing a printable, yet unobtrusive glyph or similar two-dimensionally encoded mark to identify copyrighted documents. Upon attempting to reproduce such a document, a glyph is detected, decoded and used to accurately collect and/or record a copyright royalty for the reproduction of the document or to prevent such reproduction. Furthermore, the glyph may also include additional information so as to enable an electronic copyright royalty accounting system, capable of interpreting the encoded information to track and/or account for copyright royalties which accrue during reproduction of all or portions of the original document.

SUMMARY OF THE INVENTION

A trusted rendering system for use in a system for controlling the distribution and use of digital works is disclosed. The currently preferred embodiment of the present invention is implemented as a trusted printer. However, the description thereof applies to any rendering device. A trusted printer facilitates the protection of printed documents which have been printed from a system which controls the distribution and use of digital works. The system for controlling distribution and use of digital works provides for attaching persistent usage rights to a digital work. Digital works are transferred in encrypted form between repositories. The repositories are used to request and grant access to digital works. Such repositories are also coupled to credit servers which provide for payment of any fees incurred as a result of accessing a digital work.

The present invention extends the existing capabilities of the system for controlling distribution and use of digital works to provide a measure of protection when a document is printed. The present invention adds to the system the ability to include watermark information to a document when it is rendered (i.e. a Print right associated with the document is exercised). In the currently preferred embodiment of a trusted printer, the watermark is visible. However, other “invisible” watermarking technologies may also be used. The watermark data typically provides information relating to the owner of a document, the rights associated with that copy of the document and information relating to the rendering event (e.g. when and where the document was printed). This information will typically aid in deterring or preventing unauthorized copying of the rendered work. It is worth noting that the present invention further provides for multiple types of watermarks to be provided on the same digital work.

Specification of the watermark information is preferably added to a document at the time of assigning render or play rights to the digital work. With respect to printed digital works, at the time of page layout special watermark characters are positioned on the document. When the document is printed, a dynamically generated watermark font is created which contains the watermark information specified in the print right. The font of the watermark characters are changed to the dynamically generated watermark font. The dynamically generated watermark font is created using an embedded data technology such as the glyph technology developed by the Xerox Corporation and described in U.S. Pat. No. 5,486,686 entitled “Hardcopy Lossless Data Storage and Communications For Electronic Document Processing Systems”, which is assigned to the same assignee as the present application.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating the basic interaction between repository types in a system for controlling the distribution and use of digital works in the currently preferred embodiment of the present invention.

FIG. 2 is an illustration of a repository coupled to a credit server for reporting usage fees as may be used in a system for controlling the distribution and use of digital works in the currently preferred embodiment of the present invention.

FIG. 3 a is an illustration of a printer as a rendering system as may be utilized in a system for controlling the distribution and use of digital works in the currently preferred embodiment of the present invention.

FIG. 3 b is a block diagram illustrating the functional elements of a trusted printer repository in the currently preferred embodiment of the present invention.

FIG. 4 is a flowchart of the basic steps for digital work creation for printing on a trusted printer as may be performed in the currently preferred embodiment of the present invention.

FIG. 5 is an illustration of a usage rights specification for a digital work that may be printed on a user's trusted printer in the currently preferred embodiment of the present invention.

FIG. 6 is an illustration of a usage rights specification for a digital work that may only be printed on a shared trusted printer residing on a network in the currently preferred embodiment of the present invention.

FIG. 7 is an illustration of a printed page having a glyph encoded watermark.

FIG. 8 is an illustration of a set of sample embedded data boxes having different storage capacities as may be used as watermark characters of a watermark font set in the currently preferred embodiment of the present invention.

FIG. 9 is an illustration of a print right having the watermark information specified as may be used set in the currently preferred embodiment of the present invention.

FIG. 10 is a flowchart summarizing the basic steps for a creator to cause watermarks to be placed in their documents as may be performed in the currently preferred embodiment of the present invention.

FIG. 11 is a flowchart of the steps required for printing a document as may be performed in the currently preferred embodiment of the present invention.

FIG. 12 is a flowchart outlining the basic steps for extracting the embedded data as may be performed in the currently preferred embodiment of the present invention.

FIG. 13 is an illustration of an implementation of the present invention as a trust box coupled to a computer based system.

FIG. 14 is a flowchart illustrating the steps involved in printing a digital work using the trust box implementation of FIG. 13.

FIG. 15 is an illustration of an implementation of the present invention as a printer server.

FIG. 16, is a flowchart illustrating the steps involved in printing a digital work using the printer server implementation of FIG. 15.

DETAILED DESCRIPTION OF THE INVENTION

A trusted rendering device for minimizing the risk of unauthorized copying of rendered digital works is described. The risk of unauthorized copying of digital documents comes from three main sources: interception of digital copies when they are transmitted (e.g., by wiretapping or packet snooping); unauthorized use and rendering of digital copies remotely stored, and unauthorized copying of a rendered digital work. The design of trusted rendering devices described herein addresses all three risks.

Trusted rendering combines four elements: a usage rights language, encrypted on-line distribution, automatic billing for copies, and digital watermarks for marking copies that are rendered.

-   -   Usage Rights language. Content providers indicate the terms,         conditions, and fees for printing documents in a         machine-readable property rights language.     -   Encrypted Distribution. Digital works are distributed from         trusted systems to trusted rendering devices via computer         networks. To reduce the risk of unauthorized interception of a         digital work during transmission, it is encrypted. Communication         with the rendering system is by way of a challenge-response         protocol that verifies the authorization and security of the         rendering device.     -   Automatic Billing. To ensure a reliable income stream to content         providers, billing of royalties is on-line and automatic.     -   Watermarks. Finally, to reduce the risk of copying of rendered         works, the rendered work is watermarked to record data about the         digital work and the rendering event. Furthermore, watermarks         are designed to make copies distinguishable from originals. As         will be described below, watermark information is specified         within a rendering or play right in the usage rights language.

The currently preferred embodiment of the present invention is implemented as a trusted printer. The foregoing description will be directed primarily to printers, but the concepts and techniques described therein apply equally to other types of rendering systems such as audio players, video players, displays or multi-media players.

Overview of a System for Controlling the Distribution and Use of Digital Works

The currently preferred embodiment of the present invention operates in a system for controlling the distribution and use of digital works is as described in co-pending U.S. patent application Ser. No. 08/344, 042, entitled “System for Controlling the Distribution and Use of Digital Works” and which is herein incorporated by reference. A digital work is any written, audio, graphical or video based work including computer programs that have been translated to or created in a digital form, and which can be recreated using suitable rendering means such as software programs. The system allows the owner of a digital work to attach usage rights to the work. The usage rights for the work define how it may be used and distributed. Digital works and their usage rights are stored in a secure repository. Digital works may only be accessed by other secure repositories. A repository is deemed secure if it possesses a valid identification (digital) certificate issued by a Master repository.

The usage rights language for controlling a digital work is defined by a flexible and extensible usage rights grammar. The usage rights language of the currently preferred embodiment is provided in Appendix A. Conceptually, a right in the usage rights grammar is a label attached to a predetermined behavior and defines conditions to exercising the right. For example, a COPY right denotes that a copy of the digital work may be made. A condition to exercising the right is the requester must pass certain security criteria. Conditions may also be attached to limit the right itself. For example, a LOAN right may be defined so as to limit the duration of which a work may be LOANed. Conditions may also include requirements that fees be paid.

A repository is comprised of a storage means for storing a digital work and its attached usage rights, an external interface for receiving and transmitting data, a processor and a clock. A repository generally has two primary operating modes, a server mode and a requester mode. When operating in a server mode, the repository is responding to requests to access digital works. When operating in requester mode, the repository is requesting access to a digital work.

Generally, a repository will process each request to access a digital work by examining the work's usage rights. For example, in a request to make a copy of a digital work, the digital work is examined to see if such “copying” rights have been granted, then conditions to exercise the right are checked (e.g. a right to make 2 copies). If conditions associated with the right are satisfied, the copy can be made. Before transporting the digital work, any specified changes to the set of usage rights in the copy are attached to the copy of the digital work.

Repositories communicate utilizing a set of repository transactions. The repository transactions embody a set of protocols for establishing secure session connections between repositories, and for processing access requests to the digital works. Note that digital works and various communications are encrypted whenever they are transferred between repositories.

Digital works are rendered on rendering systems. A rendering systems is comprised of at least a rendering repository and a rendering device (e.g. a printer, display or audio system). Rendering systems are internally secure. Access to digital works not contained within the rendering repository is accomplished via repository transactions with an external repository containing the desired digital work. As will be described in greater detail below, the currently preferred embodiment of the present invention is implemented as a rendering system for printing digital works.

FIG. 1 illustrates the basic interactions between repository types in the present invention. As will become apparent from FIG. 1, the various repository types will serve different functions. It is fundamental that repositories will share a core set of functionality which will enable secure and trusted communications. Referring to FIG. 1, a repository 101 represents the general instance of a repository. The repository 101 has two modes of operations; a server mode and a requester mode. When in the server mode, the repository will be receiving and processing access requests to digital works. When in the requester mode, the repository will be initiating requests to access digital works. Repository 101 may communicate with a plurality of other repositories, namely authorization repository 102, rendering repository 103 and master repository 104. Communication between repositories occurs utilizing a repository transaction protocol 105.

Communication with an authorization repository 102 may occur when a digital work being accessed has a condition requiring an authorization. Conceptually, an authorization is a digital certificate such that possession of the certificate is required to gain access to the digital work. An authorization is itself a digital work that can be moved between repositories and subjected to fees and usage rights conditions. An authorization may be required by both repositories involved in an access to a digital work.

Communication with a rendering repository 103 occurs in connection with the rendering of a digital work. As will be described in greater detail below, a rendering repository is coupled with a rendering device (e.g. a printer device) to comprise a rendering system.

Communication with a master repository 105 occurs in connection with obtaining an identification certificate. Identification certificates are the means by which a repository is identified as “trustworthy”. The use of identification certificates is described below with respect to the registration transaction.

FIG. 2 illustrates the repository 101 coupled to a credit server 201. The credit server 201 is a device which accumulates billing information for the repository 101. The credit server 201 communicates with repository 101 via billing transaction 202 to record billing transactions. Billing transactions are reported to a billing clearinghouse 203 by the credit server 301 on a periodic basis. The credit server 201 communicates the billing clearinghouse 203 via clearinghouse transaction 204. The clearinghouse transactions 204 enable a secure and encrypted transmission of information to the billing clearinghouse 203.

Rendering Systems

A rendering system is generally defined as a system comprising a repository and a rendering device which can render a digital work into its desired form. Examples of a rendering system may be a computer system, a digital audio system, or a printer. In the currently preferred embodiment, the rendering system is a printer. In any event, a rendering system has the security features of a repository. The coupling of a rendering repository with the rendering device may occur in a manner suitable for the type of rendering device.

FIG. 3 a illustrates a printer as an example of a rendering system. Referring to FIG. 3 a, a printer system 301 has contained therein a printer repository 302 and a print device 303. It should be noted that the dashed line defining printer system 301 defines a secure system boundary. Communications within the boundary is assumed to be secure and in the clear (i.e. not encrypted). Depending on the security level, the boundary also represents a barrier intended to provide physical integrity. The printer repository 302 is an instantiation of the rendering repository 105 of FIG. 1. The printer repository 302 will in some instances contain an ephemeral copy of a digital work which remains until it is printed out by the print engine 303. In other instances, the printer repository 302 may contain digital works such as fonts, which will remain and be billed based on use. This design assures that all communication lines between printers and printing devices are encrypted, unless they are within a physically secure boundary. This design feature eliminates a potential “fault” point through which the digital work could be improperly obtained. The printer device 303 represents the printer components used to create the printed output.

Also illustrated in FIG. 3 a is the repository 304. The repository 304 is coupled to a printer repository 302. The repository 304 represents an external repository which contains digital works.

FIG. 3 b is a block diagram illustrating the functional elements of a trusted printer repository. Note that these functional elements also would be present in any rendering repository. Referring to FIG. 3 b, the functional embodiment is comprised of an operating system 310, core repository services 311, and print repository functions 312. The operating system 310 is specific to the repository and would typically depend on the type of processor being used to implement the repository. The operating system 1301 would also provide the basic services for controlling and interfacing between the basic components of the repository.

The core repository services 311 comprise a set of functions required by each and every repository. For a trusted printer repository the core repository services will include engaging in a challenge response protocol to receive digital works and decryption of received digital data.

The print repository functions 312 comprise functionality for rendering a work for printing as well as gathering data for and creating a digital watermark. The functionality unique to a print repository will become apparent in the description below (particularly with respect to the flowchart of FIG. 11).

Basic Steps for Digital Work Creation for Printing on a Trusted Printer

FIG. 4 is a flowchart illustrating the basic steps for creating a digital work that may be printed on a trusted printer so that the resulting printed document is also secure. Note that a number of well known implementation steps, e.g. encryption of digital works, have been omitted in order to not detract from the basic steps. First, a digital work is written, assigned usage rights including a print right which specifies watermark information and is deposited in repository 1, step 401. As will be described in more detail below, the assignment of usage rights is accomplished through the use of a rights editor. Deposit of the digital work into repository 1 is an indication that it is being placed into a controlled system. Next, repository 1 receives a request from repository 2 for access to the digital work, step 402 and repository 1 transfers a copy of the digital work to repository 2, step 403. For the sake of this example, it is assumed that a “trusted” session between repository 1 and repository 2 has been established. The challenge response protocol used in this interaction is described in co-pending application Ser. No. 08/344,042 and thus no further discussion on the challenge response protocol is deemed necessary.

Repository 2 then receives a user request to print the digital work, step 404. Repository 2 then establishes a trusted session with a printer repository of the printing system on which the digital work will be printed, step 405. The printer repository receives the encrypted digital work and determines if it has a print right, step 406. If the digital work has the print right, the printer repository decrypts the digital work and generates the watermark that will be printed on the digital work, step 407. The printer repository then transmits the decrypted digital work with the Watermark to a printer device for printing, step 408. For example, the decrypted digital work may be a Postscripts file of the digital work.

Controlling Printing with the Usage Rights Grammar

A key concept in governing sale, distribution, and use of digital works is that publishers can assign “rights” to works that specify the terms and conditions of use. These rights are expressed in a rights language as described in co-pending application Ser. No. 08/344,042. The currently preferred grammar is provided herein in Appendix A. It is advantageous to specify watermark information within a rendering or play right within the grammar for a number of reasons. First, specification in this manner is technology independent. So different watermarking technologies may be used or changed without altering the document. Second, multiple watermarking technologies may be applied to the same digital work, e.g. a visible watermarking technology and an invisible watermarking technology. So if the visible watermark is removed, the invisible one may remain. Third, the watermark information to be placed on the digital work can be associated with the rendering event, rather than the distribution event. Fourth, the watermark information can be extended to include the entire distribution chain of the digital work. Fifth, security and watermarking capabilities of a rendering system may be specified as a condition rendering. This will further insure the trusted rendering of the digital work.

As a result of these advantages, this type of specifying watermark information fully supports the Superdistribution of digital works. Superdistribution is distribution concept where every possessor of a digital work may also be a distributor of the digital work, and wherein every subsequent distribution is accounted for.

When a publisher assigns rights to a digital work, the usage rights enables them to distinguish between viewing (or playing) rights and print rights. Play rights are used to make ephemeral, temporary copies of a work such as an image of text on a display or the sound of music from a loudspeaker. Print rights are used to make durable copies, such as pages from a laser printer or audio recordings on a magnetic media.

EXAMPLE Trusted Printing from a Personal Computer

FIG. 5 is an example of the usage rights for a digital work which enables trusted printing from a personal computer. Referring to FIG. 5, various tags are used in for the digital work. The tags “Description” 501, “Work-ID” 502 and “Owner” 503 provide identification information for the digital work.

Usage rights are specified individually and as part of a group of rights. The Rights-Group 504 has been given a name of “Regular”. The bundle label provides for a fee payee designation 505 and a minimum security level 506 that are applied to all rights in the group. The fee payee designation 505 is used to indicate who will get paid upon the invocation of a right. The minimum security level 506 is used to indicate a minimum security level for a repository that wishes to access the associated digital work.

The rights in the group are then specified individually. The usage rights specify no fee for transferring 508, deleting 509 or playing 510, but does have a five dollar fee for making a digital copy 507. It also has two Print rights 511 and 512, both requiring a trusted printer (specified by 513) The first Print right 511 can be exercised if the user has a particular prepaid ticket (specified by 514). The second print right has a flat fee of ten dollars (specified by 515). The example assumes that the digital work can be transmitted to a user's computer by exercising the Copy right, and that the user can play or print the work at his or her convenience using the Play and Print rights. Fees are logged from the user's workstation whenever a right is exercised.

Also illustrated in FIG. 5 are watermark specifications 516 and 517. The particular detail for the watermark specifications 516 and 517 is provided below with reference to FIG. 9.

EXAMPLE Trusted Printing to an Internet Printer

FIG. 6 illustrates a different set of rights for the same digital book. In this version, the publisher does not want digital delivery to be made to a consumer workstation. A practical consideration supporting this choice may be that the publisher wants to minimize the risk of unauthorized digital copying and requires a higher level of security than is provided by trusted systems on available workstations. Instead, the publisher wants the book to be sent directly from an on-line bookstore to a trusted printer. Printing must be prepaid via digital tickets (see fee specification 601). To enable digital distribution to authorized distributors but not directly to consumers, the publisher requires that both parties in a Copy and Transfer right to have an authorizing digital license (see certificate specifications 602 and 603). Lacking such a license, a consumer can not access the work at a workstation. Instead, he or she must print the work.

Also illustrated in FIG. 6 is the watermark specifications 604. The watermark specification 604 is described in greater detail below with respect to FIG. 9.

Watermarks and Fingerprints

Three main requirements for watermarks on trusted printers have been identified:

-   -   Social Reminder. This requirement is for a visible printed         indication about whether photocopying is permitted. This could         be a printed statement on the document or an established icon or         symbol within a corporation indicating a security level for the         document.     -   Auditing. This requirement is for a way to record information on         the document about the printing event, such as who owns the         print rights, whether photocopying is permitted, and what person         or printer printed the document and when the document was         printed.     -   Copy Detection. This requirement is a way for differentiating         between printed originals and photocopies. In general, this         requirement involves using some print patterns on the page which         tend to be distorted by photocopiers and scanners. For some         patterns, the difference between copies and printed original is         detectable by people; for other patterns, the difference is         automatically detectable by a computer with a scanner.

In the currently preferred embodiment, watermarks are created with embedded data technology such as glyph technology developed by the Xerox corporation. Glyph technology as it is used as embedded data printed on a medium is described in U.S. Pat. No. 5,486,686 entitled “Hardcopy Lossless Data Storage and Communications For Electronic Document Processing Systems”, which is incorporated by reference herein. Using glyphs as digital watermarks on printed documents is described in co/pending application Ser. No. 08/734,570 entitled “Quasi-Reprographics With Variable Embedded Data With Applications To Copyright Management, Distribution Control, etc.”, which is assigned to the same assignee as the present application and is incorporated by reference herein.

Generally, embedded data technology is used to place machine readable data on a printed medium. The machine readable data typically is in a coded form that is difficult if not impossible for a human to read. Another example of an embedded data technology is bar codes.

Embedded data technology can be used to carry hundreds of bits of embedded data per square inch in various grey patterns on a page. Preferably, glyphs are used because the marks representing the encoded data can be used to create marks which are more aesthetically appealing then other embedded data technologies. With careful design, glyphs can be integrated as graphical elements in a page layout. Glyphs can be used with any kind of document. Glyph watermarks to carry document identification can be embedded by the publisher; while glyphs carrying data about a print event can be added to the watermark at the time of printing by a printing system. Both document identification and fingerprinting data can be embedded in the same watermark.

It should be noted that a disadvantage of glyphs and with all forms of visible and separable watermarks, is that with mechanical or computational effort, they can be removed from a document.

FIG. 7 illustrates an example of a document image having a glyph encoded watermark. Referring to FIG. 7, a document page 701 has various text 702. Also included is a glyph encoded watermark 703. Note that the document is not limited to text and may also include image or graphical data.

Integrating Embedded Data as Watermarks into Trusted Printing Systems

This section describes briefly how embedded data technology can be used in trusted printing systems to embed watermarking data. How glyphs and watermark data are handled at each stage in creating, publishing, and printing a document is discussed.

It has been determined that for integrating embedded data such as glyphs into trusted printing systems, the requirements include:

-   -   Document designers such as authors arid publishers must be able         to specify on a page by page basis the position and shape of         watermarks, so that they can be incorporated into the design of         the document.     -   The approach should be compatible with mainline document         creation (e.g. word processing) systems.     -   The approach should work within the protocols of existing         printers.     -   The approach should carry the fingerprint (or run-time) data in         Usage Rights specifications.     -   The approach should not significantly slow down printing.

Herein the term media-dependent data is used to refer to information about how a watermark is located and shaped within the document content. The approach depends on the use of Usage Rights to express the data to be encoded in the watermark.

Document Creation

Publishers use a wide variety of tools to create documents. Different text editors or word processors provide different ways and degrees of control in laying out text, pictures and figures. One thing that all text editors have is a way to locate text on a page. In effect, this is a lowest common denominator in abilities for all systems.

Exploiting this common capability provides insight about how to use glyphs to represent watermarks:

-   -   Gyph watermarks are organized graphically as rectangular boxes.     -   Different sized boxes have different capacities for carrying         data. On 300 dpi printers, about 300 bytes per inch can be         encoded in glyphs. Note that this can represent even more data         if the original data is compressed prior to glyph encoding. Note         for greater reliability, some data may be repeated redundantly,         trading data capacity for reliability.     -   Each glyph watermark is represented to a document creation         program as a character in an initial glyph watermark font. Boxes         of different sizes and shapes are represented as different         characters for the initial glyph watermark font. When a digital         work is printed, the encoding of the data is analogous to         calculating and changing the watermark font.

In practice, a designer laying out a document would open a page of a glyph catalog containing glyph boxes of different sizes. The glyph boxes in the catalog would probably contain just test data, e.g. a glyph ASCII encoding of the words “test pattern glyph Copyright© Xerox Corporation 1997. All Rights Reserved”. The designer would determine ahead of time how much data he wants to encode per page, such as 100, 300, 500, or 1000 bytes. The designer would copy a “box” (actually a character) of the corresponding size into their document and locate it where they want it on the page, typically incorporating it as a design element.

FIG. 8 illustrates a set of sample watermark characters (i.e. glyph boxes) having different storage capacities. An actual catalog would contain additional shapes and would be annotated according to the data-carrying capacity of the glyphs.

Note that the glyph encoded watermarks can also be placed in figures, since drawing programs also have the capability to locate characters on a page.

When the creator saves their work, the document creation program writes a file in which characters in the glyph font are used to represent the watermarks. If the creator prints the document at this stage, he will see more or less what the final sold versions will look like except that the test data encoded in the gray tones of the glyph box will later be replaced by the dynamically generated watermark data.

Specifying Watermark Data

When the author or publisher gets ready to publish the work and import it into a system for controlling distribution use of digital works, one of the steps is to assign rights to the work using a Rights Editor. The Rights Editor is a program with which a document owner specifies terms and conditions of using a digital work.

This is the point at which document identification data and also print event data are specified. FIG. 9 illustrates the watermark information specified for a print right. Note that the watermark information specification is optional within the grammar. Referring to FIG. 9, print right 901 specifies that a purchaser of the document must pay ten dollars to print the document (at fee specification 902). The document must only be printed on a trusted printer of a given type (at printer specification 903). Furthermore, the watermark must embed a particular string “Title: Moby Dog Copyright 1994 by Zeke Jones. All Rights Reserved” and also include various data about the printing event (at Watermark-Tokens specification 904). Note that the watermark tokens specification are used to specify the “fingerprint” information associated with the printing of the digital work. Here the specified printing event data is who printed it out, the name of the institution printing it out, the name of the printer, the location of the printer and the time that the digital work was printed. As will be described below, this information is obtained at print time.

FIG. 10 is a flowchart summarizing the basic steps for a creator to cause watermarks to be placed in their documents. As part of the layout of the textual document the designer determines how much data is required by the watermark, step 1001. Based on the amount of needed data, a suitable watermark character (e.g. glyph box) is selected, step 1002. The watermark character is then positioned onto a page (or the pages) of the digital work, step 1003. Finally, as part of the rights assignment for the digital work document, a print right with a watermark specification is made, step 1004. At this point, the document can be viewed with the watermark positioned in the desired place(s) on the document. However, the actual fingerprint and other identifying data in an embedded data format has not yet been created. This is created dynamically at print time as described below.

Printing the Digital Work

The next steps for the digital work are that it is published and distributed. During this process, the digital work is protected by the encryption and other security systems that are employed and the rights travel with the document. Part of this process assures that any printer or workstation that has a copy of the document also has digital certificates which contain information identifying the trusted system, trusted printer, user, and so on (a process described in more detail in co-pending application Ser. No. 08/344,042).

FIG. 11 is a flowchart of the steps required for printing a document. Referring to FIG. 11, at some point, a user decides to print a document, step 1101. Typically this is done via a print command invoked through some interface on the users system. This opens a challenge-response protocol between the “user” repository containing the document and the printer repository, step 1102. During this exchange, the security and watermark capabilities of the printer are checked. If the printer does not have the proper security or watermark capabilities, the digital work cannot be printed on that printer. The printer security level and watermark capabilities are specified in the identification certificate for the printer. Assuming that the printer has the proper security levels and watermark capabilities, the “user” repository then checks that the digital work has the required print right, step 1103. Assuming that the digital work has required print right the user repository may interface with a credit server to report any required fees for the printing the digital work, step 1104. Note that the actual billing for the digital work may occur when the right is invoked either when the print exercised or when it can be verified that the document has been printed. The latter case protects the user in the situation wherein printing may become inadvertently terminated before the entire digital work is printed.

A computation is then performed to gather together the information to be embedded in the watermark and to incorporate it into a new font for the watermark character. First the information must be gathered from digital identification certificates belonging to the user or the trusted printer, such as names, locations, and the current date and time, step 1105. This information is “printed” internally into computer memory, creating a bitmap image of glyph boxes of different sizes, step 1106. Creation and coding of glyphs is described in the aforementioned U.S. Pat. No. 5,486,686, thus no further discussion on the encoding of glyph patterns is deemed necessary. In any event, this information is then assembled into a font definition, step 1107.

The digital work is then decrypted and downloaded into the printer, step 1108. When the digital work is downloaded into the printer, part of the protocol is also to download the new “revised” glyph font, which now has characters corresponding to glyph boxes. This font looks more or less like the one that the publisher used in creating the document, except that the gray codes inside the font boxes now embed the data that the publisher wants to appear in the watermarks on the document.

The printer then prints the digital work, step 1109. When the document is printed, the glyphs that appear on the pages contain the desired watermark data.

Reading the Embedded Data Contained in the Watermark

FIG. 12 is a flowchart outlining the basic steps for extracting the embedded data. First, the printed document is scanned and a digital representation obtained, step 1201. The location of the watermark and the corresponding embedded data is then found, step 1202. The watermark may be found using techniques for finding characteristic pixel patterns in the digital representation of the printed document. Alternatively, a template for the document may have been created that could be used to quickly find the watermark location. In any event, the embedded data is extracted from the watermark and decoded, step 1203. The decoded data is then converted to a human readable form, step 1204. This may be on a display or printed out. The data extracted is then used to identify who and where the unauthorized reproduction of the digital work came from.

Note that the means for extraction of the watermark data is dependent on the technology used to embed the watermark data. So while the actual extraction steps may vary, they do not cause departure from the spirit and scope of the present invention.

Trusted Printer Embodiments

In the following, two embodiments of trusted printer implementations are described: desktop implementations for personal printers and print server implementations for larger workgroup and departmental printers.

Desktop Implementations

There is a large and growing install base of personal printers. Typically, such printers are connected to personal computers by serial output ports. In other cases, they are installed on small local area networks serving a few offices.

To serve this market a “trust box” is provided which would be positioned in between the personal computer and the personal printer. The “trust box” would act as a print repository for the trusted printer system. This is a market where the purchase of such hardware would be justified by the convenience of digital delivery to the office, for those documents that publishers are unwilling to send in the clear (i.e. not encrypted). The cost of the trust box offsets either waiting for mail delivery or driving to another location to pick up trusted printer output.

FIG. 13 is an illustration of a trust box in a computer based system. Referring to FIG. 13, a personal computer 1301 is coupled to a network 1302. The personal computer 1301 itself is part of a trusted system in that it embodies a repository. The personal computer would receive digital works through the network 1302 (e.g. over the Internet). The personal computer 1301 is further coupled to trust box 1303. The communications between the repository contained in the personal computer 1301 and the trust box 1303 are encrypted for security purposes. Finally, the trust box 1303 is coupled to a printer 1304. The printer 1304 receives decrypted print streams for printing.

From a conceptual perspective, the personal computer combined with the trust box and printer form a trusted system. The trust box implementation would work with other system elements as illustrated in the steps of the flowchart of FIG. 14.

Referring to FIG. 14, the consumer contacts the distributor of digital works using, for example, an Internet browser such as Netscape Navigator or Microsoft Explorer, step 1401. For the sake of brevity, it is assumed that a trusted session is established between the consumer's repository and the distributor's repository. Using known user interface methods, the consumer the trust box, retrieving its identity certificate encrypted in its public key, step 1409. It looks up the watermark information in certificates from the user, the computer itself, and the printer, step 1410. It downloads the watermark font to the printer through the trust box, step 1411.

The print program begins sending the document, one page at a time to the trust box, step 1412.

The trust box contacts the printer. It decrypts the document giving the document key to a decryption means (e.g. an internal decryption chip), step 1413. It transmits the document to the printer in the clear, step 1414. Note that this is one place where a digital copy could be leaked, if a printer emulator was plugged into the print box to act like a printer. Presumably the security level of the trust box is set to a value that reflects the level of risk. The document is then printed, step 1415.

The trusted print box design is intended to meet several main design objectives as follows:

Installed Base. This approach is intended to work within the current installed base of desktop or personal printers. Installing a trusted print box requires loading software and plugging standard serial cables between the printer, the trusted print box, and the computer.

Security. The approach inhibits unauthorized photocopying through the use of glyph watermarks. The approach inhibits digital copying by storing digital selects a work from a catalog or search service, step 1402. In this example, it is assumed that the rights holder has associated a Print right with the document, and that all terms and conditions for exercising the right are met by the consumer and the trust box.

Once a work is selected the two repositories begin a purchase transaction, step 1403. As described in application Ser. No. 08/344,042, there are several variations for billing. For concreteness, it is assumed that there is a billing account associated with the trust box.

Using a helper application (or equivalent), the consumer's repository sends a digital certificate to the distributor which contains the trust box's public key, step 1404. The certificate itself is signed by a well-known repository, such as the printer's manufacturer.

The distributor repository encrypts the document using DES or some other encryption code, step 1405. The encryption uses a key length that is compatible with requirements of security and legal constraints. The distributor repository encrypts the document key in an envelope signed by the public key of the printer box, step 1406. The distributor repository then sends the encrypted document and the envelope along to the consumer's workstation.

The personal computer stores the encrypted document in its repository along with the envelope containing the key, step 1407.

At some point, the user decides to print the document. Using a print program, he issues a print request, step 1408. His personal computer contacts works in an encrypted form, where the consumer workstation does not have access to the key for decrypting the work.

Printer Limitations. The approach assumes that the user will plug the trusted print box into a standard printer. The printer is assumed to not have the capability of storing extra copies of the digital work.

Building box in Printer. Variations of this approach include incorporating the trusted print box into the printer itself. That variation has the advantage that it does not present the document in the clear along any external connectors.

Weak Link. A weak link in this approach is that there is an external connector that transmits the document in the clear. Although this is beyond the average consumer, it would be possible to build a device that sits between the trusted printer box and the printer that would intercept the work in the clear.

Billing Variations. In the version presented here, the trusted print box has secure storage and programs for managing billing records. A simpler version of the approach would be to keep track of all billing on-line. For example, one way to do this would be to have the document printing start at the time that the customer orders it. In this variation, the document is still sent in encrypted form from the publisher, through the consumer's workstation, decrypted, and sent to the trusted print box, to the printer. The difference is that the trusted print box no longer needs to keep billing records and that the consumer must start printing the document at the time that the document is ordered.

Software-only Variation. Another variation on the desktop printing solution involves only software. The consumer/client purchases the work and orders the right to print it once. The on-line distributor delivers the work, encrypted, one page at a time. The consumer workstation has a program that decrypts the page and sends it to the printer with watermarks, and then requests the next page. At no time is a full decrypted copy available on the consumer's computer. The weak link in this approach is that the consumer's computer does gain access to copies of pages of the work in the clear. Although this would be beyond the average consumer, it would be possible to construct software either to mimic runtime decryption software or modify it to save a copy of the work, one page at a time.

Printer Server Implementations

Much of the appeal of trusted printers is to enable the safe and commercial printing of long documents. Such printing applications tend to require the speed and special features of large, shared printers rather than personal printers. Provided herein is an architecture for server-based trusted printers.

Besides the speed and feature differences of the print engines themselves, there are some key differences between server-based trusted printers and desktop trusted printers.

-   -   Server-based printers store complete copies of documents in         files.     -   Server-based printers have operating systems and file systems         that may be accessible via a network.     -   Server-based printers have consoles, accessible to dedicated or         walk-up operators depending on the installation.

These basic properties of server-based printers create their own risks for document security which need to be addressed. In addition, since server-based printers tend to be high volume and expensive, it is important that the trusted system features not significantly slow down competitive printer performance.

From a conceptual perspective, the print server (including network services and spooling) combined with the printer forms a trusted system.

In abstract and functional terms, the operation of the server implementation is similar to that of the trust box implementation. The difference is that the server performs many of the operations of the trust box.

There are many variations on how the print server may need to interoperate with the other system elements. For example, the transaction with the printer may be with the user's computer or with an on-line repository that the user is communicating with. In the following, the transaction is described as happening from a repository, although that repository may be the user's own computer.

FIG. 15 is a block diagram illustrating a print server implementation. Referring to FIG. 15, a consumer workstation 1501 is coupled to publisher repository 1502. The publisher repository 1502 couples directly with a spooler in printer repository 1503. The spooler is responsible for scheduling and printing of digital works. The spooler 1503 is coupled to the printer 1504.

The server implementation would work with other system elements as illustrated in the steps of the flowchart of FIG. 16. Referring to FIG. 16, the repository contacts the trusted printer's server, engaging in a challenge-response protocol to verify that the printer is of the right type and security level to print the work, step 1601. These interactions also give the printer public certificates for the repository and user, that are used for retrieving watermark information.

The distributor encrypts the document using DES or some other code, using a key length that is compatible with requirements of security and legal constraints, step 1602. It encrypts the document key in an envelope signed by the public key of server, step 1603. It sends the encrypted document to the server, step 1604.

Note that in some versions of this architecture, different levels of encryption and “scrambling” (less secure) are used on the document at different stages in the server. It is generally important to protect the document in all places where it might be accessed by outside parties. The use of lower security encoding is sometimes used to avoid potentially-expensive decryption steps at critical stages that would slow the operation of the printer.

In any event, the server stores the encrypted document, step 1605. At some point, the spooler gets ready to print the document. Before starting, it runs a process to create a new version of the glyph font that encodes the watermark data, step 1606. It looks up the required watermark information in its own certificates as well as certificates from the repository and user.

Finally, the spooler begins imaging the document, one page at a time, step 1607.

Thus, trusted rendering systems for use in a system for controlling the distribution and use of digital works are disclosed. While the present invention is described with respect to a preferred embodiment, it would be apparent to one skilled in the art to practice the present invention with other configurations of information retrieval systems. Such alternate embodiments would not cause departure from the spirit and scope of the present invention.

APPENDIX A GRAMMAR FOR THE USAGE RIGHTS LANGUAGE work-specification -> (Work: (Rights-Language-Version: version-id) (Work-ID: work-id )_(opt) (Description: text-description )_(opt) (Owner: certificate-spec )_(opt) (Parts: parts-list )_(opt) (Contents: (From: address) (To: address ))_(opt) (Copies: copy-count )_(opt) (Comment: comment-str )_(opt) rights-group-list) parts-list -> work-id | work-id parts-list copy-count-> integer-constant | unlimited rights-group-list -> rights-group-spec rights-group-list_(opt) rights-group-spec -> ( rights-group-header rights-group-name bundle-spec_(opt) comment_(opt) rights-list) rights-group-header -> Rights-Group: | Reference-Rights-Group bundle-spec-> (Bundle: comment_(opt) time-spec_(opt) access-spec_(opt) fee-spec_(opt) watermark-spec_(opt)) comment -> (Comment: comment- str) rights-list ->right rights-list_(opt) right -> (right-code comment_(opt) time-spec_(opt) access-spec_(opt) fee-spec_(opt) ) right-code -> transport-code | render-code | derivative-work-code | file-management-code | configuration-code transport-code -> transport-op-spec next-copy-rights-spec_(opt) transport-op-spec -> Copy: | Transfer: | Loan: remaining-rights-spec_(opt) next-copy-rights-spec -> (Next-Copy-Rights: next-set-of-rights) remaining-rights-spec -> (Remaining-Rights: rights-groups-list) next-set-of-rights -> rights-to-add-spec_(opt) | rights-to-delete-spec_(opt) rights-to-add-spec -> (Add: rights-groups-list ) rights-to-delete-spec -> (Delete: rights-groups-list) render-code -> Play: player-spec_(opt) | Print: printer-spec_(opt) | Export: repository-spec_(opt) player-spec -> (Player: certificate-list )_(opt) (Watermark: watermark-spec)_(opt) printer-spec-> (Printer: certificate-list )_(opt) (Watermark: watermark-spec) _(opt) repository-spec -> (Repository: certificate-list )_(opt) derivative-work-code -> derivative-op-spec editor-spec_(opt) next-copy-rights-spec_(opt) derivative-op-spec -> Edit: | Extract: | Embed: editor-spec -> (Editor: certificate-list) file-management-code -> Backup: backup-copy-rights-spec_(opt) | Restore: | Verify: verifier-spec _(opt) | Folder: | Directory: | Delete: backup-copy-rights-spec -> Backup-Copy-Rights: rights-groups-list verifier-spec -> (Verifier: certificate-list) configuration-code -> Install: | Uninstall: time-spec -> (Time: interval-type expiration-spec_(opt)) interval-type -> fixed-interval-spec | sliding-interval-spec | metered-interval-spec fixed-interval-spec -> (From: moment-spec) sliding-interval-spec -> (|nterval: interval-spec) metered-interval-spec -> (Metered: interval-spec) expiration-spec -> (Until: moment-spec) moment-spec -> date-constant time-of-day-constant_(opt) interval-spec -> calendar-units-constant | time-units-constant | calendar-units-constant time-units-constant fee-spec -> (Fee: ticket-spec | monetary-spec ) ticket-spec -> (Ticket: (Authority: authority-id) (Type: ticket-id )) monetary-spec -> (fee-type min-price-spec_(opt) max-p rice-spec_(opt) account-spec) fee-type -> (Per-Use: money-units )| (Metered: (Rate: money-units) (Per: interval-spec ) (By: interval-spec)_(opt |) (Best-Price-Under money-units )| (Call-For-Price: dealer-id ) | (Markup: percentage ) money-units -> floating-constant (Currency: ISO-Currency-Code )_(opt) account-spec -> (To: account-id ) (House: clearing-house-id) _(opt) | (From: account-id) (House: clearing-house-id) _(opt) min-price-spec -> (Min: (Rate: money-units ) (Per: interval-spec)) max-price-spec -> (Max: (Rate: money-units ) (Per: interval-spec)) access-spec -> (Access: security-class-spec_(opt) user -spec_(opt) source-spec_(opt) destination-spec_(opt)) -class-spec -> (Security: s-list) s-list -> s-pair | s-pair s-list s-pair -> (s-name: s-value) s-name -> literal-constant s-value -> floating-constant user-spec -> (User: authorization-spec) source-spec -> (Source: authorization-spec) destination-spec -> (Destination: authorization-spec) authorization-spec -> (Any: certificate-list) | certificate-list certificate-list -> certificate-spec certificate-list_(opt) certificate-spec -> (Certificate: (Authority: authority-id) property-list_(opt)) property-list -> property-pair | property-pair property-list property-pair -> (property-name: property-value) property-name -> literal-constant property-value -> string-constant | literal-constant | floating-constant | integer-constant watermark-spec -> watermark-info-list watermark-info-list -> watermark-str-spec_(opt) watermark-in fo-list_(opt) | watermark-token-spec_(opt) watermark-info-list_(opt) | watermark-object-spec_(opt) watermark-info-list_(opt) watermark-str-spec -> (Watermark-Str: watermark-str) watermark-token-spec -> (Watermark-Tokens: watermark-tokens) watermark-tokens -> watermark-token watermark-tokens_(opt) watermark-token -> all- rights | render-rights | user-name | user-id | user-location | institution-name | institution-id | institution-location | render-name | render-id | render-location |render-time watermark-object-spec -> (Watermark-Object: work-id) 

1. A system for controlling the distribution and use of digital documents, the system comprising: a usage right determination device including a processor that determines a usage fight that identifies how a digital document may be used or distributed, wherein the usage fight governs rendering of the digital document and includes information that embeds watermark information into a rendered digital document, the watermark information including information relating to the rendering of the digital document.
 2. The system of claim 1, wherein the watermark information embedded in the rendered digital document is visible.
 3. The system of claim 1, wherein the watermark information embedded in the rendered digital document is invisible.
 4. The system of claim 1, wherein the information related to the rendering of the digital document includes time and date of the rendering.
 5. The system of claim 1, wherein the information related to the rendering of the digital document includes the location of the rendering.
 6. A method of controlling the distribution and use of digital documents, the method comprising: determining a usage right that identifies how a digital document may be used or distributed; and associating the usage right and the digital document wherein the usage right governs rendering of the digital document and includes information that embeds watermark information into a rendered digital document, the watermark information including information relating to the rendering of the digital document.
 7. The method of claim 6, wherein the watermark information embedded in the rendered digital document is visible.
 8. The method of claim 6, wherein the watermark information embedded in the rendered digital document is invisible.
 9. The method of claim 6, wherein the information related to the rendering of the digital document includes time and date of the rendering.
 10. The method of claim 6, wherein the information related to the rendering of the digital document includes the location of the rendering.
 11. An information storage media comprising information for controlling the distribution and use of digital documents, the information storage media comprising: information that determines a usage right that identifies how a digital document may be used or distributed; and information that associates the usage right and the digital document, wherein the usage right governs rendering of the digital document and includes information that embeds watermark information into a rendered digital document, the watermark information including information relating to the rendering of the digital document.
 12. The information storage media of claim 11, wherein the watermark information embedded in the rendered digital document is visible.
 13. The information storage media of claim 11, wherein the watermark information embedded in the rendered digital document is invisible.
 14. The information storage media of claim 11, wherein the information related to the rendering of the digital document includes time and date of the rendering.
 15. The information storage media of claim 11, wherein the information related to the rendering of the digital document includes the location of the rendering. 